import Vuex from "vuex";
import Vue from "vue";
Vue.use(Vuex)


export default new Vuex.Store({
    state: {
        userDetail: {
            avatarUrl:null
        },
        token:false

    },
    mutations: {
        setUser (state,datas) {
            state.userDetail=datas
        },
        setTokenType(state,tokens){
            state.token=tokens
        }
    }
})